package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新闻对象 news
 *
 * @author ruoyi
 * @date 2024-11-22
 */
public class News extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 新闻-图片资源地址 */
    @Excel(name = "新闻-图片资源地址")
    private String imgUrl;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String url;

    /** 新闻标题中文 */
    @Excel(name = "新闻标题中文")
    private String titleCn;

    /** 新闻说明描述 */
    @Excel(name = "新闻说明描述")
    private String descCn;

    /** 新闻标题俄文 */
    @Excel(name = "新闻标题俄文")
    private String titleRa;

    /** 新闻说明描述俄语言 */
    @Excel(name = "新闻说明描述俄语言")
    private String descRa;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Integer isShow;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setTitleCn(String titleCn)
    {
        this.titleCn = titleCn;
    }

    public String getTitleCn()
    {
        return titleCn;
    }
    public void setDescCn(String descCn)
    {
        this.descCn = descCn;
    }

    public String getDescCn()
    {
        return descCn;
    }
    public void setTitleRa(String titleRa)
    {
        this.titleRa = titleRa;
    }

    public String getTitleRa()
    {
        return titleRa;
    }
    public void setDescRa(String descRa)
    {
        this.descRa = descRa;
    }

    public String getDescRa()
    {
        return descRa;
    }
    public void setIsShow(Integer isShow)
    {
        this.isShow = isShow;
    }

    public Integer getIsShow()
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("imgUrl", getImgUrl())
                .append("url", getUrl())
                .append("titleCn", getTitleCn())
                .append("descCn", getDescCn())
                .append("titleRa", getTitleRa())
                .append("descRa", getDescRa())
                .append("createTime", getCreateTime())
                .append("isShow", getIsShow())
                .toString();
    }
}
